<div style="width: 500px;">
    <form name="form">
        <table width="100%">
            <tr>
                <td align="right" class="form-cell w88 pt16" valign="top">
                    开始时间：
                </td>
                <td class="pt12">
                    <input class="input-text input-data" max-date="#F{$dp.$D(\'end_on'\)}" ui-date format="yyyy-MM-dd" ng-model="startOn" id="begin_on" style="width: 100%;" />
                </td>
                <td></td>
            </tr>
            <tr>
                <td align="right" class="form-cell w88 pt16" valign="top">
                    结束时间：
                </td>
                <td class="pt12">
                    <input class="input-text input-data" id="end_on" min-date="#F{$dp.$D(\'begin_on'\)}" ui-date format="yyyy-MM-dd" ng-model="endOn" style="width: 100%;" />
                </td>
                <td></td>
            </tr>
            <tr>
                <td align="right" class="form-cell w88 pt16" valign="top">
                    投放金额：
                </td>
                <td class="pt12">
                    <input type="text" ng-model="Money" name="Money" class="form-control" ce-min="usable" />
                </td>
                <td class="pt12">
                    <span class="c-gray ml10 f12">可用余额：<span class="c-red">{{usable | myCurrency}}</span></span>
                </td>
            </tr>
            <tr>
                <td align="right" class="form-cell w88 pt16" valign="top">
                    附件：
                </td>
                <td class="pt12" colspan="2">
                    <div class="fileinput-button btn btn-green" ngf-select ng-model="file" name="file" ngf-pattern="'.jpg,.png,.pdf'" ngf-accept="'image/jpg, image/png, application/pdf'">
                        <span class="f13">上传附件</span>
                    </div>
                    <div class="mt5">
                        {{file.name}}
                    </div>
                </td>
            </tr>
        </table>
        <div class="ui-dialog-footer mt40" style="padding-bottom: 0">
            <div class="ui-dialog-button" style="padding-bottom: 0">
                <button class="ui-dialog-autofocus" ng-click="click()" ng-disabled="form.$invalid">确定</button>
                <button ng-click="cancel()">取消</button>
            </div>
        </div>
    </form>
</div>